package com.stormragetech.teamwork.module.user.spring.dao;

import com.stormragetech.common.exception.StormragetechException;
import com.stormragetech.teamwork.module.user.entity.Role;

import java.util.Map;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
public interface RoleDao {

    int create(Role entity) throws StormragetechException;

    Role queryById(Map<String, Object> map) throws StormragetechException;

}
